package uk.ac.lkl.common.util;



/**
 * A <code>ClassSequence</code> consisting of a single class.
 * 
 * @author Darren Pearce
 * @version $Revision$
 * @version $Date$
 * 
 */
public class ClassSingleton extends ClassSequence {

    /**
     * Create a new unnamed instance using the given class.
     * 
     * @param first
     *            the first class
     *
     */
    public ClassSingleton(Class cl) {
        super(1, cl);
    }


    /**
     * Create a new named instance using the given class.
     * 
     * @param name
     *            the name of this instance
     * @param first
     *            the first class
     * @param second
     *            the second class
     */
    public ClassSingleton(String name, Class cl) {
        super(name, 1, cl);
    }

}